package com.zhengshang.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 用户加油卡对象 app_oilcard
 * 
 * @author zhengshang
 * @date 2022-04-10
 */
public class AppOilcard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 油卡Id */
    private Long oilcardId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 油卡类型Id(字典) */
    @Excel(name = "油卡类型Id(字典)")
    private String oilcardTypeId;

    /** 会员姓名 */
    @Excel(name = "会员姓名")
    private String userName;

    /** 会员证件号 */
    @Excel(name = "会员证件号")
    private String identityNo;

    /** 油卡卡号 */
    @Excel(name = "油卡卡号")
    private String oilcardNo;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 默认(0普通,1默认) */
    @Excel(name = "默认(0普通,1默认)")
    private Integer isDefault;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setOilcardId(Long oilcardId) 
    {
        this.oilcardId = oilcardId;
    }

    public Long getOilcardId() 
    {
        return oilcardId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOilcardTypeId(String oilcardTypeId) 
    {
        this.oilcardTypeId = oilcardTypeId;
    }

    public String getOilcardTypeId() 
    {
        return oilcardTypeId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setIdentityNo(String identityNo) 
    {
        this.identityNo = identityNo;
    }

    public String getIdentityNo() 
    {
        return identityNo;
    }
    public void setOilcardNo(String oilcardNo) 
    {
        this.oilcardNo = oilcardNo;
    }

    public String getOilcardNo() 
    {
        return oilcardNo;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("oilcardId", getOilcardId())
            .append("userId", getUserId())
            .append("oilcardTypeId", getOilcardTypeId())
            .append("userName", getUserName())
            .append("identityNo", getIdentityNo())
            .append("oilcardNo", getOilcardNo())
            .append("mobile", getMobile())
            .append("isDefault", getIsDefault())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
